package com.XmlParse;

import com.UIManager.UIManager;
import com.Welcome.R;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class LocationXmlParseIndex extends Activity {

	private Button button1 = null;
	private Button button2 = null;
	private UIManager manager = null;

	@Override
	protected void onCreate(Bundle savedInstanceState) {

		super.onCreate(savedInstanceState);
		setContentView(R.layout.locationxmlparseindex);
		manager = new UIManager(this);

		manager.getLocationXmlParseM1Button().setOnClickListener(
				new OnClickListener() {

					public void onClick(View v) {
						startActivity(new Intent(LocationXmlParseIndex.this,
								XmlLocationParseMethodOne.class));
					}
				});
		manager.getLocationXmlParseM2Button().setOnClickListener(
				new OnClickListener() {

					public void onClick(View v) {
						startActivity(new Intent(LocationXmlParseIndex.this,
								XmlLocationParseMethodTwo.class));
					}
				});

	}
}
